Radio functionality - #631
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new 'Radio' feature to Song Alchemy, allowing users to persist anchors with specific temperature and result count settings for batch playlist generation. This includes database schema updates, CRUD endpoints, cron scheduling support, frontend UI management, and dedicated unit tests. Additionally, a global search-and-replace was performed to replace special characters and emojis with ASCII equivalents. However, this automated replacement introduced several critical issues: it corrupted a regular expression character class in lyrics_transcriber.py causing import-time crashes, created an empty alternative in a regex in app_chat.py that breaks rating detection, and broke a unit test assertion in test_ai.py.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This reverts commit f469ca9.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces the 'Alchemy Radio' feature, allowing users to save anchors with specific temperature and result count settings to automatically generate playlists. It adds database support, API endpoints, a frontend management tab, and cron integration for scheduled playlist generation. The review feedback highlights several robustness and performance improvements: wrapping playlist deletion calls in try-except blocks to prevent single failures from halting the entire process, validating that the temperature input is a finite number to avoid bypasses, optimizing the frontend save loop to only update modified rows, and running the cron task asynchronously to prevent blocking other scheduled jobs.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|



Added new radio functionality:
All the radio playlist will have the suffix
_radioand each new radio run will delete all the old one and create the new one.PR test builds:
ghcr.io/neptunehub/audiomuse-ai:pr-631ghcr.io/neptunehub/audiomuse-ai:pr-631-nvidiaghcr.io/neptunehub/audiomuse-ai:pr-631-noavx2